<?php echo $header; ?>

<style>
<!--
.content table{
	width:300px;
	margin:0 auto;

}

table.form tr td:first-child {
	width: 80px;
}

table.form tr td input ,table.form tr td select{
	border:1px solid #4f5aa4;
	-webkit-border-radius: 4px 4px 4px 4px;
	-moz-border-radius: 4px 4px 4px 4px;
	-khtml-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
}

table.form tr td{
	color: #4f5aa4;
	font-size:14px;
}

input.button{
	background-image:none;
	background-color:#4f5aa4;
}
-->
</style>


<div id="content">
	<div class="advice_info">
			<div class="advice_head"><h2><?php echo $heading_title; ?></h2></div>
			<div class="logo">
				<img src="catalog/view/theme/mobile/image/xj/zoujing/youxiu.png" width="100%" height="200px" />
			</div>
			<div class="advice_content">
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
    <h2><font color="#4f5aa4"><?php echo $text_your_details; ?></font></h2>
    <?php if($error_warning){?>
    	<div class="warning"><?php echo $error_warning;?></div>
    <?php }?>
    <div class="content">
      <table class="form">
      <tr>
          <td style="width:20px;"><span class="required">*</span> 昵称：</td>
          <td><input type="text" name="firstname" value="<?php echo $firstname; ?>" />
            <?php if ($error_firstname) { ?>
            <span class="error"><?php echo $error_firstname; ?></span>
            <?php } ?></td>
        </tr>
        
     	 <tr>
          <td><span class="required">*</span> 身份证号：</td>
          <td><input type="text" name="card_no" value="<?php echo $card_no; ?>" />
            <?php if ($error_card_no) { ?>
           	     <span class="error"><?php echo $error_card_no; ?></span>
            <?php } ?></td>
        </tr>
        
         <tr>
          <td><span class="required">*</span> <?php echo $entry_telephone; ?></td>
          <td><input type="text" name="telephone" value="<?php echo $telephone; ?>" />
            <?php if ($error_telephone) { ?>
            <span class="error"><?php echo $error_telephone; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><span class="required">*</span> 密码：</td>
          <td><input type="password" name="password" value="<?php echo $password; ?>" />
            <?php if ($error_password) { ?>
            <span class="error"><?php echo $error_password; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><span class="required">*</span> 确认密码：</td>
          <td><input type="password" name="confirm" value="<?php echo $confirm; ?>" />
            <?php if ($error_confirm) { ?>
            <span class="error"><?php echo $error_confirm; ?></span>
            <?php } ?></td>
        </tr>
        
         <tr>
          <td><span class="required">*</span>用户角色：</td>
          <td>
          		 <select name="customer_group_id">
          		 	<?php foreach ($customer_groups as $customer_group) { ?>
          		 		<option value="<?php echo $customer_group['customer_group_id'];?>"><?php echo $customer_group['name']?></option>
          		 	<?php }?>
          		 </select>
          </td>
        </tr>
      </table>
    </div>
    <div class="buttons">
      <div class="right">
        <input type="submit" value="提交" class="button" />
      </div>
    </div>
  </form>
  </div>
  </div>
  </div>
<?php echo $footer; ?>